package com.java65;

import java.util.Scanner;

public class practice2 {
    public static void main(String[] args) {
        int num = 0;
        Scanner input = new Scanner(System.in);
        for(int i=1;i<=5;i++) {
            System.out.println("请输入周"+i+"学习时间");
            int j=input.nextInt();
            num=num+j;
        }
        System.out.println("周一至周五平均学习时间为:"+num/5.0+"小时");
    }
}
